﻿namespace DelegateT1;

public class C1
{
    public void A(int x, IDictionary<string, int> data)
    {
        Console.Out.WriteLine("A(x, data)");
        data.Add("A", x);
    }

    public void A(int x, int y, IDictionary<string, int> data)
    {
        Console.Out.WriteLine("A(x, y, data)");
        data.Add("A", x + y);
    }
}